//
//  UIButton+CL.h
//  IntegralMall
//
//  Created by 朱跃龙 on 2017/9/26.
//  Copyright © 2017年 朱跃龙. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIButton (CL)

+ (UIButton *)addBtnImage:(NSString *)imgName AndFrame:(CGRect)frame WithTarget:(id)target action:(SEL)action;

+ (UIButton *)addBtnImage:(NSString *)imgName WithTarget:(id)target action:(SEL)action;

+ (UIButton *)addBtnTitle:(NSString *)title AndTitleColor:(UIColor *)color AndTitleFont:(CGFloat)font WithTarget:(id)target action:(SEL)action;

+ (UIButton *)addBtnImage:(NSString *)imgName WithBtnTitle:(NSString *)title AndTitleColor:(UIColor *)color AndTitleFont:(CGFloat)font;

+ (UIButton *)addBtnImage:(NSString *)imgName;

+ (UIButton *)addBtnImage:(NSString *)img WithBtnTitle:(NSString *)title AndTitleColor:(UIColor *)color AndTitleFont:(CGFloat)font WithTarget:(id)target action:(SEL)action;

+(UIButton *)addBtnImage:(NSString *)img AndFrame:(CGRect)frame WithTitle:(NSString *)title AndTitleColor:(UIColor *)color AndTitleFont:(CGFloat)font AndImgInsets:(UIEdgeInsets)edgeInset AndTitleEdgeInsets:(UIEdgeInsets)titleInsets AndTarget:(id)traget AndAction:(SEL)selector;

+(UIButton *)addBtnWithFrame:(CGRect)frame WithTitle:(NSString *)title WithBGImg:(NSString *)backImg WithFont:(CGFloat)font WithTitleColor:(UIColor *)color Target:(id)traget Action:(SEL)action;

+(UIButton *)addBtnWithFrame:(CGRect)frame WithTitle:(NSString *)title WithBGImg:(NSString *)backImg WithSelectedBGImg:(NSString *)selectImg WithFont:(CGFloat)font WithTitleColor:(UIColor *)color WithSeletedTitleColor:(UIColor *)selectColor Target:(id)traget Action:(SEL)action;


@end
